package com.study.design.model.behaviorPattern.state;

import org.junit.Test;

/**
* @Name: Client
* @Description: 状态模式测试类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-15 下午9:47:13 
* @Version: V1.0
 */
public class Client {
	
	@Test
	public void state() {
		HomeContext context = new HomeContext() ;
		context.setState(new FreeState()) ;
		context.setState(new CheckedInState()) ;
	}

}
